<template>
  <div id="myVue">
    <span @click="show">{{msg}}</span>
    <el-button @click="show">按钮</el-button>
  </div>
</template>
<script>
import myMixin from "./mixin.js";
export default {
  name: "myVue",
  mixins: [myMixin],
  data() {
    return {
      hhaha: "123",
      sad: "sjfa",
    };
  },
  created() {
    console.log(this.$data);
    console.log("组件自身的钩子函数");
  },
  mounted() {
    this.show();
  },
};
</script>